package com.test.event.base;

import java.util.Arrays;
import java.util.List;

/**
 * 类功能描述:
 *
 * @author bgt
 * @version V1.0
 * @since 2019-02-18 18:15
 */
public class PiplineDemo {
    public static void main(String[] args) {
        //biz=quanku
        List<PscPipeline> pipelines = Arrays.asList(PiplineFac.diagnosisDOPinie, PiplineFac.relationDOPipline);
        Object preData = new Object();
        for (PscPipeline each : pipelines) {
            each.process(null, preData);
        }

        // to db
    }

    public static class PiplineFac{
        public static PscPipeline diagnosisDOPinie;
        public static PscPipeline relationDOPipline;
    }
}
